home *** CD-ROM | disk | FTP | other *** search
/ Express Pd: GALORE / Express Pd Galore - The Amiga PD & Shareware CD (1994)(Express Pd)[!][Amiga-CD32-CDTV].iso / productivity / term / smakefile < prev    next >
Makefile  |  1993-07-16  |  3KB  |  91 lines

  1. ###############################################################################
  2. #
  3. #    SMakefile
  4. #
  5. #    Makefile for the `SMake' utility required to build `term'
  6. #
  7. #    Copyright © 1990-1993 by Olaf `Olsen' Barthel & MXM
  8. #        All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     SC $(CFLAGS) $(GST) $(OPTIONS) OBJNAME=$*.o $*.c
  14.  
  15. .c.oo:
  16.     SC $(CFLAGS) $(GST) $(OPTIONS) $(OPTIMIZE) OBJNAME=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     ASM -IASM: $*.asm
  20.  
  21. MACHINE        = ANY
  22. #MACHINE    = 68030
  23.  
  24. OPTIMIZE    = OPTIMIZE OPTINLOCAL OPTTIME
  25.  
  26. INCLUDEFLAGS    = DEFINE=INCLUDEALL
  27. INCLUDEFILES    = termGlobal.h termProtos.h termARexxAttributes.h termARexxGlobal.h
  28.  
  29. AREXXFLAGS    = DEFINE=USE_AREXX
  30. AREXXOBJS    = termARexx.oo termARexxAttributes.oo termARexxCommands.oo termARexxData.o
  31.  
  32. OPTIONS        = CPU=$(MACHINE) UTILLIB $(AREXXFLAGS)
  33.  
  34. GST        = GSTIMM GST=term.gst
  35.  
  36. CFLAGS        = MCCONS STREQ STRMERGE NOSTKCHK IDLEN=65
  37. LFLAGS        = DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
  38.           DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22 \
  39.           SC SD ND
  40.  
  41. LIBS        = LIB:amiga.lib LIB:sc.lib
  42.  
  43. OBJS        = Start.o QuickSort.o ASCIIPanel.o CapturePanel.o ClipPanel.o \
  44.           CommandPanel.o CopyPanel.o CursorPanel.o DatePanel.o DayPanel.o \
  45.           EmulationPanel.o FastMacroPanel.o HotkeyPanel.o ImportPanel.o LibPanel.o \
  46.           MacroPanel.o MiscPanel.o ModemPanel.o PasswordUserPanel.o PathPanel.o \
  47.           PhonePanel.o PrintPanel.o RatePanel.o ScreenPanel.o SerialPanel.o \
  48.           SoundPanel.o SpeechPanel.o TerminalPanel.o TimePanel.o TransferPanel.o \
  49.           TranslationPanel.o UploadPanel.o termAmigaGuide.o termAux.o termBeep.o \
  50.           termBuffer.oo termCall.o termCapture.oo termClip.oo termConfig.o \
  51.           termConsole.oo termCRC.o termCrypt.oo termData.o termDial.o \
  52.           termEmulation.oo termFastMacros.o termFastMacroWindow.oo termFileBuffer.oo termGadTools.o \
  53.           termHotkeys.o termIdentify.o termInfo.o termInit.o termLists.oo \
  54.           termLocale.o termMain.o termResponse.oo termMarker.o termMisc.o \
  55.           termOldConfig.o termPacket.o termPhone.o termPickFile.o termPickScreen.o \
  56.           termPrint.o termRaster.oo termReviewBuffer.oo termSaveWindow.o termScale.oo \
  57.           termScroll.oo termSerial.oo termSendText.oo termSound.oo termSpeech.o \
  58.           termStatusDisplay.o termStatusWindow.o termStringHook.o termStrings.o termTag.o \
  59.           termTextBuffer.oo termTransfer.o termTranslate.oo termXEM.oo termXPR.oo
  60.  
  61. all:        term.gst term
  62.  
  63. termTag.o:    termTag.asm term.i
  64.         ASM -IASM: termTag.asm
  65.  
  66. term:        $(OBJS) $(AREXXOBJS)
  67.         SLINK WITH T:term.WITH <<!(T:term.WITH)
  68.             FROM
  69.             $(OBJS)
  70.             $(AREXXOBJS)
  71.             TO
  72.             $@
  73.             LIB
  74.             $(LIBS)
  75.             $(LFLAGS)
  76.             NOICONS
  77.         <
  78.  
  79. term.gst:    PreInclude.c termStrings.h termExtras.h OwnDevUnit.h xproto.h xem.h $(INCLUDEFILES)
  80.         SC NOOBJNAME IDLEN=65 $(INCLUDEFLAGS) $(AREXXFLAGS) MAKEGST=$@ PreInclude.c
  81.         Flush
  82.  
  83. termStrings.o:    termStrings.c termStrings.h
  84.         SC $(CFLAGS) termStrings.c
  85.  
  86. termGadTools.o:    termGadTools.c
  87.         SC $(CFLAGS) $(OPTIONS) $(OPTIMIZE) termGadTools.c
  88.  
  89. Start.o:    Start.c
  90.         SC $(CFLAGS) $(OPTIMIZE) DEFINE=_M$(MACHINE) Start.c
  91.